package com.adminsystem.java.user.pojo.param;

import lombok.Data;
import javax.validation.constraints.NotBlank;

/**
 * @author wangpeiao
 */
@Data
public class ResetPasswordParam {
    @NotBlank(message = "用户名或邮箱不能为空")
    private String usernameOrEmail;

    @NotBlank(message = "验证码不能为空")
    private String code;

    @NotBlank(message = "新密码不能为空")
    private String newPassword;

    @NotBlank(message = "请确认新密码")
    private String confirmPassword;
}
